
<?php
    $this->extend('/Common/main_page');
?>



<?php if(isset($email)): ?>
  
  <?php  
    echo '<br/><h1>';
    echo $email;
    echo '</h1>';
   ?>
       
<?php else: ?>

<h1>What's your email</h1>

<?php
    echo $this->Form->create('email');
    echo $this->Form->input('email', array('type'=>'email'));
    echo $this->Form->end('Submit');  
?>

<?php endif; ?>
